// app.js
import './utils/util'
import './utils/http'
App({

  globalData: {},
  setToken(type, value) {
    this[type] = value
    wx.setStorageSync(type, value)
  },
  getToken(type = "token") {
    // console.log(this.token);
    return wx.getStorageSync(type)
  },
})
